# 程序主入口
from com.power.auto.test.maven.maven_push import *
from com.power.auto.test.job.JobFlowBuilder import *

if __name__ == '__main__':
    # 1.初始化项目环境路径，配置本机环境的绝对路径
    job_flow = get_job_flow('hessian')
    job_flow.invoke()
    EnvManager.destory()
    # 1.读取配置，是否需要动态自动加载facade和common包
    # if EnvManager.get_maven_init() == MavenInitConfig.OPEN.name:
    #     init_maven()
    # env = EnvManager.get_env()
    # hessian_config = parse_yml(EnvManager.get_config_path()+'/hessian-' + env.lower() + '.yml')
    # print(hessian_config)
    # base_url = hessian_config.get('base-url')
